package model

import "gorm.io/gorm"

// 管理员表
type Admin struct {
	gorm.Model
	UserName string `gorm:"type:varchar(20);commit:登录用户名"`
	Password string `gorm:"type:varchar(32);commit:密码"`
	RealName string `gorm:"type:varchar(255);commit:管理员真实姓名"`
	Phone    string `gorm:"type:varchar(18);commit:联系电话"`
	Role     int    `gorm:"type:int;commit:角色"`
}
